<?xml version="1.0" encoding="utf-8"?>
<!-- 
  Copyright 2007 the original author or authors.
  
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
    http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"
xmlns="http://www.w3.org/1999/xhtml">	
<!-- $Id: Layout.html 147 2007-08-30 10:15:37Z Ghostbb8 $ -->	
  <head>
    <t:shell/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <title>${title} - lichen forum</title>

    <meta name="generator" content="Lichen Forum" />
	<link rel="stylesheet" type="text/css" href="${templateUrl}/default.css" />
  </head>

  <body>

	<div id="header" class="main-block">${message:lichen.homepage}
		<!-- GOOGLE Dev Mailist -->
		<table border="0" style="background-color: #fff; padding: 5px;" cellspacing="0">
  <tr><td>
    <img src="http://groups.google.com/groups/img/3nb/groups_bar_zh-CN.gif"
         height="26" width="132" alt="Google 网上论坛"/>
  </td></tr>
  <tr><td style="padding-left: 5px"> <b>订阅 Lichen开发者</b> </td></tr>
  <form action="http://groups.google.com/group/lichen-dev/boxsubscribe">
  <input type="hidden" name="hl" value="zh-CN"/>
  <tr><td style="padding-left: 5px;"> 电子邮件： <input type="text" name="email"/>
           <input type="submit" name="sub" value="订阅"/>
  </td></tr>
</form>
<tr><td align="right"> <a href="http://groups.google.com/group/lichen-dev?hl=zh-CN">访问此论坛</a> </td></tr>
</table>
		   </div>
	<div id="navigator" class="main-block">
		User Login From/User Information
		<div class="block bottom_block menu_block">
			<ul>
				<li><t:if test="login">${message:username}:${user.nickName}${message:topicCount}:${user.topicCount}<t:parameter name="else"><t:pagelink page="user/register">Register</t:pagelink> / <t:pagelink page="user/login">Login</t:pagelink></t:parameter></t:if></li>
				<li>Members List</li>
				<li>Today's Posts</li>
				<li>Search</li>
				<t:if test="login">
	                <li><t:pagelink page="control/view">Control Panel</t:pagelink></li>
				</t:if>
			</ul>
		</div>
	</div>
	<div id="message" class="main-block">
		<div class="block top_block">${message:lichen.welcome.title}</div>
		<div>welcome lichen forum based on Tapestry5.0.5 ,Hibernate 3.2.4sp1,Spring 2.0.6(only use transaction)</div>
	</div>
	<div id="sub_navigator" class="main-block">
		<span><a t:type="pagelink" page="index">Lichen Forum</a></span><t:menuLoop><span>-><t:if test="menu.disabled">${menu.pageText}<t:parameter name="else"><t:menuPageLink >${menu.pageText}</t:menuPageLink></t:parameter></t:if></span></t:menuLoop>
	</div>
  <t:body />

  <div id="footer" class="main-block">
  	<div class="block menu_block">
  		<ul>
  			<li><t:pagelink page="admin/view">Administrator</t:pagelink></li>
  			<li><a t:type="pagelink" page="Index" >${message:lichen.homepage}</a></li>
  		</ul>
	</div>
  </div>
  <div class="copyright">Copyright 2007 the original author or authors.Version:${version},online users<t:pagelink page="user/ViewOnline">[${onlineUserNum}]</t:pagelink>  $Revision: 147 $ </div>
 </body>
</html>

